﻿using System;
using System.Runtime.CompilerServices;
using Prism.Mvvm;

namespace AutoR.Models
{
	// Token: 0x02000205 RID: 517
	public class Statistics : BindableBase
	{
		// Token: 0x17000383 RID: 899
		// (get) Token: 0x06000BB0 RID: 2992 RVA: 0x0006D6B2 File Offset: 0x0006B8B2
		public DateTime StartTime
		{
			get
			{
				return DateTime.Now;
			}
		}

		// Token: 0x17000384 RID: 900
		// (get) Token: 0x06000BB1 RID: 2993 RVA: 0x0006D6B9 File Offset: 0x0006B8B9
		// (set) Token: 0x06000BB2 RID: 2994 RVA: 0x0006D6C4 File Offset: 0x0006B8C4
		public int AttackTaskNum
		{
			[CompilerGenerated]
			get
			{
				return this.<AttackTaskNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<AttackTaskNum>k__BackingField == value)
				{
					return;
				}
				this.<AttackTaskNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.TaskCompleteRate);
				this.OnPropertyChanged(<>PropertyChangedEventArgs.AttackTaskNum);
			}
		}

		// Token: 0x17000385 RID: 901
		// (get) Token: 0x06000BB3 RID: 2995 RVA: 0x0006D6FC File Offset: 0x0006B8FC
		// (set) Token: 0x06000BB4 RID: 2996 RVA: 0x0006D704 File Offset: 0x0006B904
		public int TaskCompleteNum
		{
			[CompilerGenerated]
			get
			{
				return this.<TaskCompleteNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<TaskCompleteNum>k__BackingField == value)
				{
					return;
				}
				this.<TaskCompleteNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.TaskCompleteRate);
				this.OnPropertyChanged(<>PropertyChangedEventArgs.TaskCompleteNum);
			}
		}

		// Token: 0x17000386 RID: 902
		// (get) Token: 0x06000BB5 RID: 2997 RVA: 0x0006D73C File Offset: 0x0006B93C
		// (set) Token: 0x06000BB6 RID: 2998 RVA: 0x0006D744 File Offset: 0x0006B944
		public int AttackNum
		{
			[CompilerGenerated]
			get
			{
				return this.<AttackNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<AttackNum>k__BackingField == value)
				{
					return;
				}
				this.<AttackNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.AttackNum);
			}
		}

		// Token: 0x17000387 RID: 903
		// (get) Token: 0x06000BB7 RID: 2999 RVA: 0x0006D771 File Offset: 0x0006B971
		// (set) Token: 0x06000BB8 RID: 3000 RVA: 0x0006D77C File Offset: 0x0006B97C
		public int SkipNum
		{
			[CompilerGenerated]
			get
			{
				return this.<SkipNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<SkipNum>k__BackingField == value)
				{
					return;
				}
				this.<SkipNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.SkipRate);
				this.OnPropertyChanged(<>PropertyChangedEventArgs.SkipNum);
			}
		}

		// Token: 0x17000388 RID: 904
		// (get) Token: 0x06000BB9 RID: 3001 RVA: 0x0006D7B4 File Offset: 0x0006B9B4
		// (set) Token: 0x06000BBA RID: 3002 RVA: 0x0006D7BC File Offset: 0x0006B9BC
		public int NotSkipNum
		{
			[CompilerGenerated]
			get
			{
				return this.<NotSkipNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<NotSkipNum>k__BackingField == value)
				{
					return;
				}
				this.<NotSkipNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.SkipRate);
				this.OnPropertyChanged(<>PropertyChangedEventArgs.NotSkipNum);
			}
		}

		// Token: 0x17000389 RID: 905
		// (get) Token: 0x06000BBB RID: 3003 RVA: 0x0006D7F4 File Offset: 0x0006B9F4
		// (set) Token: 0x06000BBC RID: 3004 RVA: 0x0006D7FC File Offset: 0x0006B9FC
		public int NewShipNum
		{
			[CompilerGenerated]
			get
			{
				return this.<NewShipNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<NewShipNum>k__BackingField == value)
				{
					return;
				}
				this.<NewShipNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.NewShipNum);
			}
		}

		// Token: 0x1700038A RID: 906
		// (get) Token: 0x06000BBD RID: 3005 RVA: 0x0006D829 File Offset: 0x0006BA29
		// (set) Token: 0x06000BBE RID: 3006 RVA: 0x0006D834 File Offset: 0x0006BA34
		public int TrenchNum
		{
			[CompilerGenerated]
			get
			{
				return this.<TrenchNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<TrenchNum>k__BackingField == value)
				{
					return;
				}
				this.<TrenchNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.TrenchNum);
			}
		}

		// Token: 0x1700038B RID: 907
		// (get) Token: 0x06000BBF RID: 3007 RVA: 0x0006D861 File Offset: 0x0006BA61
		// (set) Token: 0x06000BC0 RID: 3008 RVA: 0x0006D86C File Offset: 0x0006BA6C
		public int QuickRepairNum
		{
			[CompilerGenerated]
			get
			{
				return this.<QuickRepairNum>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<QuickRepairNum>k__BackingField == value)
				{
					return;
				}
				this.<QuickRepairNum>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.QuickRepairNum);
			}
		}

		// Token: 0x1700038C RID: 908
		// (get) Token: 0x06000BC1 RID: 3009 RVA: 0x0006D899 File Offset: 0x0006BA99
		// (set) Token: 0x06000BC2 RID: 3010 RVA: 0x0006D8A4 File Offset: 0x0006BAA4
		public string CurrentTask
		{
			[CompilerGenerated]
			get
			{
				return this.<CurrentTask>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (string.Equals(this.<CurrentTask>k__BackingField, value, StringComparison.Ordinal))
				{
					return;
				}
				this.<CurrentTask>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.CurrentTask);
			}
		}

		// Token: 0x1700038D RID: 909
		// (get) Token: 0x06000BC3 RID: 3011 RVA: 0x0006D8D5 File Offset: 0x0006BAD5
		public int TaskCompleteRate
		{
			get
			{
				if (this.AttackTaskNum != 0)
				{
					return (int)((float)this.TaskCompleteNum / (float)this.AttackTaskNum * 100f);
				}
				return 0;
			}
		}

		// Token: 0x1700038E RID: 910
		// (get) Token: 0x06000BC4 RID: 3012 RVA: 0x0006D8F7 File Offset: 0x0006BAF7
		public int SkipRate
		{
			get
			{
				if (this.SkipNum + this.NotSkipNum != 0)
				{
					return (int)((float)this.SkipNum * 100f / (float)(this.SkipNum + this.NotSkipNum) * 100f);
				}
				return 0;
			}
		}

		// Token: 0x1700038F RID: 911
		// (get) Token: 0x06000BC5 RID: 3013 RVA: 0x0006D92D File Offset: 0x0006BB2D
		// (set) Token: 0x06000BC6 RID: 3014 RVA: 0x0006D938 File Offset: 0x0006BB38
		public int oil
		{
			[CompilerGenerated]
			get
			{
				return this.<oil>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<oil>k__BackingField == value)
				{
					return;
				}
				this.<oil>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.oil);
			}
		}

		// Token: 0x17000390 RID: 912
		// (get) Token: 0x06000BC7 RID: 3015 RVA: 0x0006D965 File Offset: 0x0006BB65
		// (set) Token: 0x06000BC8 RID: 3016 RVA: 0x0006D970 File Offset: 0x0006BB70
		public int ammo
		{
			[CompilerGenerated]
			get
			{
				return this.<ammo>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ammo>k__BackingField == value)
				{
					return;
				}
				this.<ammo>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ammo);
			}
		}

		// Token: 0x17000391 RID: 913
		// (get) Token: 0x06000BC9 RID: 3017 RVA: 0x0006D99D File Offset: 0x0006BB9D
		// (set) Token: 0x06000BCA RID: 3018 RVA: 0x0006D9A8 File Offset: 0x0006BBA8
		public int steel
		{
			[CompilerGenerated]
			get
			{
				return this.<steel>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<steel>k__BackingField == value)
				{
					return;
				}
				this.<steel>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.steel);
			}
		}

		// Token: 0x17000392 RID: 914
		// (get) Token: 0x06000BCB RID: 3019 RVA: 0x0006D9D5 File Offset: 0x0006BBD5
		// (set) Token: 0x06000BCC RID: 3020 RVA: 0x0006D9E0 File Offset: 0x0006BBE0
		public int aluminium
		{
			[CompilerGenerated]
			get
			{
				return this.<aluminium>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<aluminium>k__BackingField == value)
				{
					return;
				}
				this.<aluminium>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.aluminium);
			}
		}
	}
}
